package com.qumitech.visualnovel.service.virtualSearch;

import com.alibaba.fastjson.JSONObject;
import com.qumitech.visualnovel.model.dao.console.VisualConnectConfig;
import com.qumitech.visualnovel.model.dao.console.VisualSearchRecord;


import java.util.HashMap;
import java.util.List;

public interface VisualSearchService {

    List<HashMap<String,Object>> databaseOption();

    VisualSearchRecord addTask(JSONObject param);

    VisualConnectConfig getVisualConnectConfigById(Integer Id);

    int update(VisualSearchRecord visualSearchRecord);

    List<VisualSearchRecord> getList(Integer id, String title, Integer status, String startTime, String endTime, Integer offset, Integer limit,
                                     String orderBy, String orderType);

    Integer getCount(Integer id, String title, Integer status, String startTime, String endTime);


    VisualSearchRecord findVisualSearchRecordById(Integer Id);
}